package io.yunho.spring.security.learn.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: Jason
 * @date: 2021/4/21 22:04
 * @description:
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @GetMapping("add")
    public String add() {
        return "hello";
    }

    @GetMapping("index")
    public String index() {
        return "hello index";
    }
}
